package com.example.graphic.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.io.Serializable;

/**
 * 图片标签关联实体
 */
@Data
@TableName("image_tags")
public class ImageTag implements Serializable {

    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    /** 图片 ID */
    private Long imageId;

    /** 标签 ID */
    private Long tagId;
} 